package com.example.CollaborativeDiscussionLearning.mapper;

import com.example.CollaborativeDiscussionLearning.entity.CourseStudent;
import org.springframework.stereotype.Repository;

/**
 * 学生-课程数据接口
 * */

@Repository
public interface CourseStudentMapper {
    /**
     * 新增
     * */
    public int insert(CourseStudent courseStudent);

    /**
     * 查询
     * */
    public CourseStudent queryCourseStudent(CourseStudent courseStudent);

    /**
     * 根据
     * */
    public int delete(Integer id);

    /**
     * 更新
     * */
    public int update(CourseStudent courseStudent);
}